package com.ll.app.api.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 核销请求对象
 *
 * @author WuHen
 * @date 2022/04/29 14:43
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WriteOffReqDTO {
    @NotNull(message = "tenantId不能为null")
    @ApiModelProperty(value = "ID", required = true,  example = "1")
    private Long tenantId;

    @NotNull(message = "studentUserId 不能为null")
    @ApiModelProperty(value = "学员的钉钉用户id", example = "123456")
    private Long studentUserId;

    @NotNull(message = "teacherId 不能为null")
    @ApiModelProperty(value = "讲师id", example = "10001")
    private String teacherDingId;
}
